package com.regentsoft.cloudback.enterpriseAdmin.vo.req;

import io.swagger.annotations.ApiModelProperty;

/**
 * Created by work on 2017/11/29.
 *
 * @author lumr
 */
public class MediaDownLoadReq extends MediaBaseReq{

    @ApiModelProperty(notes = "是否分片下载")
    private boolean append;
    @ApiModelProperty(notes = "分片下载时：文件token")
    private String fileToken;
    @ApiModelProperty(notes = "分片下载时：文件起点")
    private Long start;
    @ApiModelProperty(notes = "分片下载时：分片长度")
    private Integer length;
    @ApiModelProperty(notes = "分片下载时：当前块数")
    private int chunkNum;
    @ApiModelProperty(notes = "分片下载时：总块数")
    private int chunkQty;

    public boolean isAppend() {
        return append;
    }

    public void setAppend(boolean append) {
        this.append = append;
    }

    public Long getStart() {
        return start;
    }

    public void setStart(Long start) {
        this.start = start;
    }

    public Integer getLength() {
        return length;
    }

    public void setLength(Integer length) {
        this.length = length;
    }

    public String getFileToken() {
        return fileToken;
    }

    public void setFileToken(String fileToken) {
        this.fileToken = fileToken;
    }

    public int getChunkNum() {
        return chunkNum;
    }

    public void setChunkNum(int chunkNum) {
        this.chunkNum = chunkNum;
    }

    public int getChunkQty() {
        return chunkQty;
    }

    public void setChunkQty(int chunkQty) {
        this.chunkQty = chunkQty;
    }
}
